package com.sofwin.controller;

import com.sofwin.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class TestController {
    @Autowired
    private UserService service;

    @GetMapping("test")
@ResponseBody
    public String test01(){
        System.out.println('*************sdfsdfsdfsfdsdfsdf***");
        return "admin.jsp"+service.selectUserCount();
    }
}
